<?php
	echo "
	    <div class='footer clear'>
	    	<p class='fl_left'>© 2011 <a href = 'http://www.developer.md' target = '_blank'>DeveloperMD</a></p>
	        <ul class='fl_right'>";
		
		        foreach (Menus::$site_global as $item)
		        {
		        	//check
					if (($item['in_footer'] === false) || (!isset(HTTPContext::$session['customer']['id']) && $item['is_private'] === true))
					{
						continue;
					}
		        	
		            echo "<li><a href='{$item['url']}'>{$item['text']}</a></li>";
		        }
        
    echo "  </ul>
	    </div>
    ";
?>